<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import="weaver.general.*" %>
<%@ page import="weaver.hrm.company.DepartmentComInfo" %>
<%@ page import="weaver.hrm.company.SubCompanyComInfo" %>
<%@ page import="weaver.hrm.job.JobTitlesComInfo" %>
<%@ page import="weaver.hrm.resource.ResourceComInfo" %>
<%@ page import="net.sf.json.JSONArray" %>
<%@ page import="net.sf.json.JSONObject" %>
<%@ page import="weaver.hrm.company.CompanyComInfo" %>
<%
	boolean isNoHeader = Util.null2String(request.getParameter("noHeader")).equals("1");	//是否不包含头部
	String fieldId = Util.null2String(request.getParameter("fieldId"));	//字段id
	String fieldSpanId = Util.null2String(request.getParameter("fieldSpanId"));	//字段显示区域id
	String selectedIds = Util.null2String(request.getParameter("selectedIds"));	//选中的id，逗号分隔，如：1,2,3
	
	String browserId = Util.null2String(request.getParameter("browserId"));
	String browserName = Util.null2String(request.getParameter("browserName"));
	String browserText = Util.null2String(request.getParameter("browserText"));	//浏览按钮文本，用于标题显示
	String browserAction = Util.null2String(request.getParameter("browserAction"));	
		
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">

<script type="text/javascript">
var _browserId = "<%=browserId%>";
var _browserName = "<%=browserName%>";
var _browserText = "<%=browserText%>";
var _browserAction = "<%=browserAction%>";

var _browserType = "2";

var _selectedIds = "<%=selectedIds.trim()%>";
var _selected_arr = [];

var _fieldId = "<%=fieldId%>";
var _fieldSpanId = "<%=fieldSpanId%>";

var _isRunInEmobile = (top && typeof(top.isRunInEmobile) == "function") ? top.isRunInEmobile() : false;


</script>
<script type="text/javascript" src="/mobilemode/js/zepto/zepto.min_wev8.js"></script>
<script type="text/javascript" src="/mobilemode/browser/js/fastclick.min_wev8.js"></script>
<script type="text/javascript" src="/mobilemode/browser/js/jquery.sortable.min.js"></script>
<link type="text/css" rel="stylesheet" href="/mobilemode/browser/css/commonBrowser_wev8.css" />
<script type="text/javascript" src="/mobilemode/apps/browser/js/commonBrowser_wev8.js"></script>
<script type="text/javascript" src="/mobilemode/js/iscroll/iscroll5_wev8.js"></script>
<script type="text/javascript">
var _isNoHeader = "<%=isNoHeader%>";
$(document).ready(function(){
	if(_isNoHeader){
		if(top._hasHeader == false && !top.isRunInEmobile()){
			$("#page-center").css("top", "50px");
			$("#page-title").show();
		}else{
			$("#page-center").css("top", "0px");
			$("#page-title").hide();
		}
	}else{
		$("#page-center").css("top", "50px");
		$("#page-title").show();
	}
});
</script>



</head>
<body class="_emobile">
<div id="page">
	<div id="page-title">
		<div id="nav-header">
			<div class="header-left">返回</div>
			<div class="header-center"><%=browserText%></div>
			<div class="header-right"></div>
		</div>
	</div>
	
	<div id="page-center">
		
		<div id="center-content">
			<div id="center-content-inner">
				<div id="list-data-container" class="data-container">
					<div id="list-data-srarch">
						<div class="srarch-inner">
							<input type="search" id="search-key" />
						</div>
					</div>
					
					<div id="list-data-content">
						<div id="data-content-inner">
							<div class="data-wrap">
								<ul class="data-ul muti">
								
								</ul>
							</div>
							<div id="list-loadMore"></div>
							<div id="list-loading">
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div id="center-footer">
			<div id="choosedResult">
				<span id="theSelected"></span>(<span id="selectedNum">0</span>)
			</div>
			
			<div id="okResult">
				
			</div>
		</div>
		
		<div id="selected-result-page">
			<div id="result-center">
				<div id="result-center-inner">
					
					<div id="result-data-container">
						<div id="result-data-srarch">
							<div class="srarch-inner">
								<input type="search" id="result-search-key" />
							</div>
						</div>
						
						<div id="result-data-content">
							<div id="result-data">
							</div>
						</div>
					</div>
				
				</div>
			</div>
			<div id="result-footer">
				<div id="backResult">
					
				</div>
				<div id="clearResult">
					
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>